<template>
  <router-view />
</template>

<script setup>
import { onMounted } from 'vue';
import { useUserStore } from './stores/user';

const userStore = useUserStore();

onMounted(() => {
  // 初始化用户状态
  userStore.initFromStorage();
});
</script>

<style>
/* 全局样式 */
</style>

